<link href="/FrontEnd/his.css"  rel="stylesheet" type="text/css" />

<script language="javascript" type="text/javascript" src="/js/My97DatePicker/WdatePicker.js"></script>

<div class="center">
	<div class="home">
    	<div class="home_left">
            <?php echo $this->partial('member/menu.phtml',array('uCount' => $this->uCount,'menuId'=>$this->menuId,'user'=>$this->user,'account'=>$this->account)); ?>
        </div>
    	<div class="home_right">
            <h1 style="font-size:20px">本功能尚未开发完成，加油！！</h1> 
<div class="records">
        <div class="jilu">
            <ul>
                <li class="on" index="0"><a class="j1" href="/mypanli/myAccount/ShoppingRecords.aspx" title="全部消费记录">全部消费记录</a>
                </li>
                <li index="1"><a class="j2" href="/mypanli/myAccount/ShoppingRecords.aspx?t=1" title="支出记录">支出记录</a></li>
                <li index="2"><a class="j3" href="/mypanli/myAccount/ShoppingRecords.aspx?t=2" title="收入记录">收入记录</a>
                </li>
            </ul>
        </div>
        <div class="riqi">
            <ul>
                <li>
                    <label>
                        起始日期：</label><div class="rili">
                            <input readonly="readonly" type="text" id="startDate" value="2011-05-01" onClick="WdatePicker()"><img class="datepick-trigger" src="<?= $this->cnd_org ?>/images/guojia.gif" alt="..." title="...">
                        </div>
                </li>
                <li>
                    <label>
                        截止日期：</label><div class="rili">
                            <input readonly="readonly" type="text" id="endDate" value="" onClick="WdatePicker()"><img class="datepick-trigger" src="<?= $this->cnd_org ?>/images/guojia.gif" alt="..." title="...">
                        </div>
                </li>
                <li>
                    <input class="chakan" onclick="search()" type="button" value="查看"></li>
            </ul>
        </div>
        <div class="biao">
            <table>
                <thead>
                    <tr>
                    <th class="w1">
                        日期
                    </th>
                    <th class="w2">
                        行为
                    </th>
                    <th class="w3">
                        消费摘要
                    </th>
                    <th class="w4">
                        金额<span>(￥)</span>
                    </th>
                    <th class="w5">
                        帐户余额<span>(￥)</span>
                    </th>
                    </tr>                    
                </thead>
                <tbody>

                <?php foreach ($this->history['list'] as $item){ ?>
                    <tr>
                        <td><?php echo $item->DateCreated ?></td>
                        <td><?php echo $item->Comment ?></td>
                        <td><?php echo $item->Comment ?></td>
                        <td><?php echo number_format($item->UseMoney,2) ?></td>
                        <td><?php echo $item->AfterMoney ?></td>
                    </tr>
                    <?php }?>
                </tbody>
            </table>
        </div>
        
    </div>
            
        </div>
    </div>
</div>

